const {ccclass, property} = cc._decorator;

const i18n = require('LanguageData');

import Common  from "./utils/common";

@ccclass
export default class Game extends cc.Component {
    @property(cc.Node)
    maoxianLayer: cc.Node = null;
    @property(cc.Node)
    startMaoxian: cc.Node = null;

    onLoad () {
      Common.btnClick(this.startMaoxian, ()=>{
        this.maoxianLayer.active = true;
        this.maoxianLayer.getComponent("maoxianController").startGame();
      })
    }

}
